﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Runtime.Serialization;

namespace WcfService.DataContract
{
    [DataContract(Namespace = "http://mss.system.pl")]
    public class SocialConnectorRequest : MSSRequest
    {
        /// <summary>
        /// mozliwe opcje:
        /// DODAWANIE USERA DO LISTY KONTAKTOW
        ///  operationType = 1
        ///  opeartionData = nazwa
        /// USUWANIE USERA Z LISTY KONTAKTOW
        ///  operationType = 2
        ///  operationData = nazwa
        /// WYSYLANIE WIADOMOSCI
        ///  opeartionType = 3
        ///  operationData = adresat|wiadomosc
        /// POBIERANIE LISTY KONTAKTOW
        ///  operationType = 4
        ///  opeartionData = getlist
        /// POBIERANIE WIADOMOSC
        ///  operationType = 4
        ///  operationData = getmessage
        /// </summary>
        [DataMember]
        public int operationType { get; set; }

        [DataMember]
        public string operationData { get; set; }


    }
}
